#include "../StdInc.h"

#ifndef _RUN_COMMANDLINE_MODE


namespace GSTrader
{
	namespace QuoteService
	{
		CHistoricalDataManager::CHistoricalDataManager(PVOID lpDataManager) : m_pDataManager(lpDataManager)
		{
		
		}

		CHistoricalDataManager::~CHistoricalDataManager()
		{
			int xxx = 0;
		}

		string CHistoricalDataManager::GetDataFilePath(string strExchangeId, EDataCycle DataCycle)
		{
			string strFileName = this->GetDataFileName(DataCycle);
			return StringFormat("%s/%s", strExchangeId.c_str(), strFileName.c_str());
		}

		string CHistoricalDataManager::GetDataFileName(EDataCycle DataCycle)
		{
			return "";
		}

		bool CHistoricalDataManager::CreateDataFile(string strExchangeId, EDataCycle eDataCycle)
		{
			return false;
		}

		bool CHistoricalDataManager::GetIndex(string strCode, FILE* pFile, UINT& uIndexPos, SDataFileIndex* pRetIndex)
		{
			return false;
		}

		bool CHistoricalDataManager::AddNewIndex(string strCode, FILE* pFile, UINT& uIndexPos)
		{
			return false;
		}

		bool CHistoricalDataManager::GetHistoricalData(CBarSeriesIndex& BarSeriesIndex, vector<SHistoricalData>& vHisData)
		{
			return false;
		}

		bool CHistoricalDataManager::ImportData(string strExchangeId, string strCode, EDataCycle eDataCycle, SHistoricalData* pHistoricalData,
		                                        uint32 uDataCount)
		{
			return false;
		}
	}
}

#endif 